// 该文件用于配置常见路由

import BasicLayout from "@/layout/basic-layout.vue";

import Login from "@/views/login/index.vue";

import Page403 from "@/views/exception/403.vue";

export default [
  {
    path: "/login",
    name: "login",
    component: Login,
  },
  {
    path: "/exception",
    name: "exception",
    component: BasicLayout,
    children: [
      {
        path: "403",
        name: "exception_403",
        component: Page403,
      },
      {
        path: "404",
        name: "exception_404",
        component: Page403,
      },
    ],
  },
  {
    path: "/",
    redirect: {
      name: "dashboard_console",
    },
  },
];
